package com.vizhuo.client.business.match.goods.request;

import java.io.Serializable;
import java.util.Date;

import com.vizhuo.client.base.AbstractRequest;

/**
 * 
 * @ClassName: AddRobRequest
 * @Description: 抢单
 * @author TANDP
 * @date 2015-7-9 下午1:56:12
 * 
 */
public class AddRobRequest extends AbstractRequest implements Serializable {
    /**
     * 抢单记录id
     */
    private Long robId;

    /**
     * 货源id/要车信息id
     */
    private Long goodsId;

    /**
     * 发货人id
     */
    private Integer accountId;

    /**
     * 货源单号
     */
    private String goodsNo;

    /**
     * 抢单人账号id
     */
    private Integer robAccountId;

    /**
     * 抢单人手机号
     */
    private String phone;

    private String isCarrier;

    /**
     * 抢单人位置经度
     */
    // private String lng;

    /**
     * 抢单人位置纬度
     */
    // private String lat;

    /**
     * 货源运输起点经度
     */
    // private String startLng;

    /**
     * 货源运输起点纬度
     */
    // private String startLat;

    /**
     * 创建时间
     */
    protected Date createDatetime;

    /**
     * 用车时间
     */
    protected String needCarTime;

    public String getNeedCarTime() {
        return needCarTime;
    }

    public void setNeedCarTime(String needCarTime) {
        this.needCarTime = needCarTime;
    }

    /**
     * 最后修改时间
     */
    protected Date lastModifyDatetime;

    /**
     * 判断是长途还是同城(长途为1，同城为2)
     */
    protected String distanceType;

    public String getDistanceType() {
        return distanceType;
    }

    public void setDistanceType(String distanceType) {
        this.distanceType = distanceType;
    }

    public String getIsCarrier() {
        return isCarrier;
    }

    public void setIsCarrier(String isCarrier) {
        this.isCarrier = isCarrier;
    }

    /**
     * 离运输起点距离(米)-客户端不用传
     */
    private int distance;

    /**
     * 抢单人账号类型CLIENT_TYPE_LIST,1006,1:司机,2:发货人,3:信息部/物流公司
     */
    private String robAccountType;

    public AddRobRequest(int appType, String loginToken, String uMengdeviceToken, String userName) {
        super(appType, loginToken, uMengdeviceToken, userName);
    }

    public AddRobRequest() {
        super();
    }

    /**
     * 抢单人账号类型(客户端不用传)CLIENT_TYPE_LIST,1006,1:司机,2:发货人,3:信息部/物流公司
     * 
     * @return
     */
    public String getRobAccountType() {
        return robAccountType;
    }

    /**
     * 抢单人账号类型(客户端不用传)CLIENT_TYPE_LIST,1006,1:司机,2:发货人,3:信息部/物流公司
     * 
     * @param robAccountType
     */
    public void setRobAccountType(String robAccountType) {
        this.robAccountType = robAccountType;
    }

    /**
     * 货源单号
     * 
     * @return
     */
    public String getGoodsNo() {
        return goodsNo;
    }

    /**
     * 货源单号
     * 
     * @param goodsNo
     */
    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo;
    }

    /**
     * 货源id/要车信息id
     * 
     * @return
     */
    public Long getGoodsId() {
        return goodsId;
    }

    /**
     * 货源id/要车信息id
     * 
     * @param goodsId
     */
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 抢单人账号id
     * 
     * @return
     */
    public Integer getRobAccountId() {
        return robAccountId;
    }

    /**
     * 抢单人账号id
     * 
     * @param accountId
     */
    public void setRobAccountId(Integer robAccountId) {
        this.robAccountId = robAccountId;
    }

    /**
     * 发货人id
     * 
     * @return
     */
    public Integer getAccountId() {
        return accountId;
    }

    /**
     * 发货人id
     * 
     * @param accountId
     */
    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    /**
     * 抢单人手机号
     * 
     * @return
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 抢单人手机号
     * 
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public Long getRobId() {
        return robId;
    }

    public void setRobId(Long robId) {
        this.robId = robId;
    }

    public Date getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(Date createDatetime) {
        this.createDatetime = createDatetime;
    }

    public Date getLastModifyDatetime() {
        return lastModifyDatetime;
    }

    public void setLastModifyDatetime(Date lastModifyDatetime) {
        this.lastModifyDatetime = lastModifyDatetime;
    }

}
